package com.ruoyi.jiuzai.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资出入库明细对象 cangkumingxi
 * 
 * @author ruoyi
 * @date 2025-06-21
 */
public class Cangkumingxi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细id */
    private Long mingId;

    /** 物资序号 */
    @Excel(name = "物资序号")
    private Long wuziId;

    /** 入库序号 */
    @Excel(name = "入库序号")
    private Long rukuId;

    /** 出库序号 */
    @Excel(name = "出库序号")
    private Long cId;

    /** 供应商 */
    @Excel(name = "供应商")
    private String wuziShangjia;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mingRiqi;

    /** 过保日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "过保日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mingGuoriqi;

    /** 购置日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购置日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mingMairiqi;

    /** 单价 */
    @Excel(name = "单价")
    private Long mingDanjia;

    /** 是否可回收 */
    @Excel(name = "是否可回收")
    private Long mingHui;

    /** 数量 */
    @Excel(name = "数量")
    private Long mingShuliang;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String mingName;

    /** 物资规格 */
    @Excel(name = "物资规格")
    private String mingGuige;

    /** 状态(0.入库1.出库) */
    @Excel(name = "状态(0.入库1.出库)")
    private Long mingZhuangtai;

    public void setMingId(Long mingId) 
    {
        this.mingId = mingId;
    }

    public Long getMingId() 
    {
        return mingId;
    }

    public void setWuziId(Long wuziId) 
    {
        this.wuziId = wuziId;
    }

    public Long getWuziId() 
    {
        return wuziId;
    }

    public void setRukuId(Long rukuId) 
    {
        this.rukuId = rukuId;
    }

    public Long getRukuId() 
    {
        return rukuId;
    }

    public void setcId(Long cId) 
    {
        this.cId = cId;
    }

    public Long getcId() 
    {
        return cId;
    }

    public void setWuziShangjia(String wuziShangjia) 
    {
        this.wuziShangjia = wuziShangjia;
    }

    public String getWuziShangjia() 
    {
        return wuziShangjia;
    }

    public void setMingRiqi(Date mingRiqi) 
    {
        this.mingRiqi = mingRiqi;
    }

    public Date getMingRiqi() 
    {
        return mingRiqi;
    }

    public void setMingGuoriqi(Date mingGuoriqi) 
    {
        this.mingGuoriqi = mingGuoriqi;
    }

    public Date getMingGuoriqi() 
    {
        return mingGuoriqi;
    }

    public void setMingMairiqi(Date mingMairiqi) 
    {
        this.mingMairiqi = mingMairiqi;
    }

    public Date getMingMairiqi() 
    {
        return mingMairiqi;
    }

    public void setMingDanjia(Long mingDanjia) 
    {
        this.mingDanjia = mingDanjia;
    }

    public Long getMingDanjia() 
    {
        return mingDanjia;
    }

    public void setMingHui(Long mingHui) 
    {
        this.mingHui = mingHui;
    }

    public Long getMingHui() 
    {
        return mingHui;
    }

    public void setMingShuliang(Long mingShuliang) 
    {
        this.mingShuliang = mingShuliang;
    }

    public Long getMingShuliang() 
    {
        return mingShuliang;
    }

    public void setMingName(String mingName) 
    {
        this.mingName = mingName;
    }

    public String getMingName() 
    {
        return mingName;
    }

    public void setMingGuige(String mingGuige) 
    {
        this.mingGuige = mingGuige;
    }

    public String getMingGuige() 
    {
        return mingGuige;
    }

    public void setMingZhuangtai(Long mingZhuangtai) 
    {
        this.mingZhuangtai = mingZhuangtai;
    }

    public Long getMingZhuangtai() 
    {
        return mingZhuangtai;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mingId", getMingId())
            .append("wuziId", getWuziId())
            .append("rukuId", getRukuId())
            .append("cId", getcId())
            .append("wuziShangjia", getWuziShangjia())
            .append("mingRiqi", getMingRiqi())
            .append("mingGuoriqi", getMingGuoriqi())
            .append("mingMairiqi", getMingMairiqi())
            .append("mingDanjia", getMingDanjia())
            .append("mingHui", getMingHui())
            .append("mingShuliang", getMingShuliang())
            .append("mingName", getMingName())
            .append("mingGuige", getMingGuige())
            .append("mingZhuangtai", getMingZhuangtai())
            .toString();
    }
}
